package com.zhixiang.xaec.entity.performance.safeachievements;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.cfg.Comment;

import com.googlecode.jsonplugin.annotations.JSON;
import com.zhixiang.xaec.entity.BaseEntity;
@Entity
@Table(name="perf_InternalAchiving")
@Comment("自评档案")
public class InternalAchiving  extends BaseEntity {
    
    //外键自评设置的模板Id
    private Long ratingProjectSetTreeId;
    
    //外键自评设置的模板名称
    private String ratingProjectSetTreeName;
    
    //内部自评id
    private Long InternalAssessId;
    
    //一级要素
    private String oneLevel;
    
    //二级要素
    private String twoLevel;
    
    //基本规范要求
    private String regulation;
    
    //企业达标标准
    private String baseStandard;
    
    //评分方式
    private String scoreModel;
    
    //标准化得分
    private Float standardScore;
    
    //自评得分
    private Float sumScore;
    
    //自评日期
    private Date scoreDate;

    @Comment("外键自评设置的模板Id")
    public Long getRatingProjectSetTreeId() {
        return ratingProjectSetTreeId;
    }

    public void setRatingProjectSetTreeId(Long ratingProjectSetTreeId) {
        this.ratingProjectSetTreeId = ratingProjectSetTreeId;
    }

    @Comment("外键自评设置的模板名称")
    public String getRatingProjectSetTreeName() {
        return ratingProjectSetTreeName;
    }

    public void setRatingProjectSetTreeName(String ratingProjectSetTreeName) {
        this.ratingProjectSetTreeName = ratingProjectSetTreeName;
    }

    @Comment("内部自评id")
    public Long getInternalAssessId() {
        return InternalAssessId;
    }

    public void setInternalAssessId(Long internalAssessId) {
        InternalAssessId = internalAssessId;
    }

    @Comment("一级要素")
    public String getOneLevel() {
        return oneLevel;
    }

    public void setOneLevel(String oneLevel) {
        this.oneLevel = oneLevel;
    }

    @Comment("二级要素")
    public String getTwoLevel() {
        return twoLevel;
    }

    public void setTwoLevel(String twoLevel) {
        this.twoLevel = twoLevel;
    }

    @Comment("基本规范要求")
    public String getRegulation() {
        return regulation;
    }

    public void setRegulation(String regulation) {
        this.regulation = regulation;
    }

    @Comment("企业达标标准")
    public String getBaseStandard() {
        return baseStandard;
    }

    public void setBaseStandard(String baseStandard) {
        this.baseStandard = baseStandard;
    }

    @Comment("自评得分")
    public Float getSumScore() {
        return sumScore;
    }

    public void setSumScore(Float sumScore) {
        this.sumScore = sumScore;
    }

    @Comment("评分方式")
    public String getScoreModel() {
        return scoreModel;
    }

    public void setScoreModel(String scoreModel) {
        this.scoreModel = scoreModel;
    }

    @Comment("标准化得分")
    public Float getStandardScore() {
        return standardScore;
    }

    public void setStandardScore(Float standardScore) {
        this.standardScore = standardScore;
    }

    @Comment("自评日期")
    @JSON(format="yyyy-MM-dd")
    public Date getScoreDate() {
        return scoreDate;
    }

    public void setScoreDate(Date scoreDate) {
        this.scoreDate = scoreDate;
    }
    
    
}
